import io.helidon.webserver.netty.WebServerLogFormatter;

import java.util.logging.Level;
import java.util.logging.LogRecord;
import java.util.logging.Logger;

/**
 * @author xs
 * date 2018/9/13 16:01
 */
public class Hello {

	public static Logger logger = Logger.getLogger("Hello");

	public static void main(String[] args) {
		WebServerLogFormatter webServerLogFormatter = new WebServerLogFormatter();
		String log = webServerLogFormatter.format(new LogRecord(Level.INFO, "thread-xx-1 hello log!!!"));
		System.out.println(log);
		logger.info("hello log!!!");
	}
}
